package mapper;

import cn.tedu.front.search.FrontSearchApplication;
import cn.tedu.front.search.dao.persist.mapper.SearchJobVOMapper;
import cn.tedu.front.search.pojo.param.SearchKeywordsParam;
import cn.tedu.front.search.pojo.vo.SearchJobVO;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

import java.util.List;

@SpringBootTest(classes = FrontSearchApplication.class)
public class SearchMapper {
    @Autowired
    private SearchJobVOMapper mapper;
    @Test
    void xxx(){

      SearchKeywordsParam param=new SearchKeywordsParam();


      param.setJobType("全职");
      param.setSalary("15-20k");
        List<SearchJobVO> searchJobVOS = mapper.selectKeyword(param);

        System.out.println(searchJobVOS);
    }
}
